package com.ruoyi.appraise.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 评价列表对象 sys_appraise
 * 
 * @author ruoyi
 * @date 2024-03-25
 */
public class SysAppraise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价表id */
    private Long id;

    /** 被评价老师 */
    @Excel(name = "被评价老师")
    private String teacherName;

    /** 评价的星星数量 */
    @Excel(name = "评价的星星数量")
    private Long start;

    /** 评价的学生 */
    @Excel(name = "评价的学生")
    private String studentName;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 帮扶时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "帮扶时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date helpTime;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private String issueType;

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStart(Long start) 
    {
        this.start = start;
    }

    public Long getStart() 
    {
        return start;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }
    public void setHelpTime(Date helpTime) 
    {
        this.helpTime = helpTime;
    }

    public Date getHelpTime() 
    {
        return helpTime;
    }
    public void setIssueType(String issueType) 
    {
        this.issueType = issueType;
    }

    public String getIssueType() 
    {
        return issueType;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("start", getStart())
            .append("studentName", getStudentName())
            .append("creatTime", getCreatTime())
            .append("helpTime", getHelpTime())
            .append("issueType", getIssueType())
            .append("description", getDescription())
            .toString();
    }
}
